Skip to content

fix(workspace): harden runbook init template embed filter (#325)#71

Open
advancedresearcharray wants to merge 4 commits into
mainfrom
feat/issue-325-runbook-embed-filter-delivery
Open

fix(workspace): harden runbook init template embed filter (#325)#71
advancedresearcharray wants to merge 4 commits into
mainfrom
feat/issue-325-runbook-embed-filter-delivery

Conversation

@advancedresearcharray

Copy link
Copy Markdown
Owner

Summary

  • Add filteredTemplatesFS to exclude dev-only legacy template paths from go:embed so kiwifs init --template runbook stays lint-clean
  • Add service stubs (services/api-service.md, services/monitoring.md) as wiki-link targets for the example runbook
  • Extend regression tests for embed visibility, scaffold paths, and kiwifs check on generated workspace

Closes kiwifs#325

Test plan

  • go test ./internal/workspace/... -count=1 -run 'Runbook|Embed|Filtered'
  • go test ./cmd/... -count=1 -run 'Runbook'
  • TestRunbookInitCheckPasseskiwifs check exits 0 on scaffold (info-level orphans only)
  • TestRunbookEmbedUsesUC6ScaffoldOnly — legacy paths hidden from embed
  • Example runbook has all 7 UC-6 sections with fenced bash blocks
  • JSON Schema validates required frontmatter (trigger, severity, owner, services)

Made with Cursor

Array Fleet and others added 4 commits July 3, 2026 05:45
…-03)

Re-confirms UC-6 runbook scaffold, schema validation, and kiwifs check
regression tests before fleet PR closing kiwifs#325.

Co-authored-by: Cursor <cursoragent@cursor.com>
Filter dev-only template paths from go:embed so kiwifs init --template runbook
stays lint-clean. Add service stubs for example runbook wiki links and regression
tests for embed visibility and scaffold paths.

Closes kiwifs#325

Co-authored-by: Cursor <cursoragent@cursor.com>
Wire service stubs and playbook into index.md so kiwifs check reports
fewer orphan info issues on generated runbook scaffolds.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(workspace): ship runbook init template and frontmatter schema

1 participant